//
//  UserInfo.h
//  太平卓客
//
//  Created by rimi on 15/7/10.
//  Copyright (c) 2015年 rimi. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UserInfo : NSObject
@property (nonatomic, copy) NSString    *username;
@property (nonatomic) BOOL loginStatus;
@property (nonatomic, copy) NSString    *userId;
@property (nonatomic, copy) NSString    *token;
@property (strong, nonatomic)NSString   *deviceId;
@property (strong, nonatomic)NSString   *phoneNumber;
@property (nonatomic,strong) NSString   *key;
@property (nonatomic,copy)UIImage       *headImage;
@property (nonatomic,strong)NSString    *passport;
@property (nonatomic,strong)NSString    *balance;
@property (nonatomic,strong)NSString    *storeImage;
@property (nonatomic,assign)NSInteger   uid;
@property (nonatomic)BOOL logo;
+ (instancetype)sharedUserInfo;

//从沙盒里面读取数据
- (void)loadUserInfoFromSandbox;
//把数据存入沙盒
- (void)saveUserInfoToSandbox;
@end
